<template>
  <div class="q-pa-md">
    <t-list dense>
      <t-item>
        <t-item-section avatar>
          <t-icon color="teal" name="volume_up" />
        </t-item-section>
        <t-item-section>
          <t-slider v-model="volume" :min="0" :max="10" label color="teal" />
        </t-item-section>
      </t-item>

      <t-item>
        <t-item-section avatar>
          <t-icon color="deep-orange" name="brightness_medium" />
        </t-item-section>
        <t-item-section>
          <t-slider
            v-model="brightness"
            :min="0"
            :max="10"
            label
            color="deep-orange"
          />
        </t-item-section>
      </t-item>

      <t-item>
        <t-item-section avatar>
          <t-icon color="primary" name="mic" />
        </t-item-section>
        <t-item-section>
          <t-slider v-model="mic" :min="0" :max="50" label />
        </t-item-section>
      </t-item>

      <t-separator inset spaced />

      <t-item>
        <t-item-section side>
          <t-icon name="volume_down" />
        </t-item-section>
        <t-item-section>
          <t-slider v-model="volume" :min="0" :max="10" label />
        </t-item-section>
        <t-item-section side>
          <t-icon name="volume_up" />
        </t-item-section>
      </t-item>
    </t-list>
  </div>
</template>

<script>
  import { ref } from 'vue';

  export default {
    setup() {
      return {
        volume: ref(6),
        brightness: ref(3),
        mic: ref(8),
      };
    },
  };
</script>
